Tag: sliding window
-
BinarySearch 0012 Longest Sublist with K Distinct Numbers (09 Apr 2022)
-
BinarySearch 0014 Sliding Window Max (09 Apr 2022)
-
BinarySearch 0077 Anagram Partitioning (09 Apr 2022)
-
BinarySearch 0118 Longest Distinct Sublist (09 Apr 2022)
-
BinarySearch 0193 Longest Common Substring (09 Apr 2022)
-
BinarySearch 0207 Longest 1s After One Swap (09 Apr 2022)
-
BinarySearch 0240 Minimum Window Substring (09 Apr 2022)
-
BinarySearch 0259 Diverse Words (09 Apr 2022)
-
BinarySearch 0289 Smallest Difference (09 Apr 2022)
-
BinarySearch 0318 Adjacent Swaps to Group Ones (09 Apr 2022)
-
BinarySearch 0330 Largest and Smallest Difference (09 Apr 2022)
-
BinarySearch 0350 Count Submatrices That Sum Target (09 Apr 2022)
-
BinarySearch 0409 Smallest Sublist Sum at Least Target (09 Apr 2022)
-
BinarySearch 0418 Anagram Substrings (09 Apr 2022)
-
BinarySearch 0436 Longest Substring with 2 Distinct Characters (09 Apr 2022)
-
BinarySearch 0498 K Distinct Window (09 Apr 2022)
-
BinarySearch 0503 Maximum Sum Removing K Numbers From Ends (09 Apr 2022)
-
BinarySearch 0507 Special Nodes (09 Apr 2022)
-
BinarySearch 0534 Minimal Submatrices (09 Apr 2022)
-
BinarySearch 0539 Longest Sublist with Value Range Condition (09 Apr 2022)
-
BinarySearch 0548 Group the Ones (09 Apr 2022)
-
BinarySearch 0597 Minimum Number of Contiguous K-Flips (09 Apr 2022)
-
BinarySearch 0602 Max Sum of Two Non-Overlapping Lists (09 Apr 2022)
-
BinarySearch 0608 Longest Sublist with Absolute Difference Condition (09 Apr 2022)
-
BinarySearch 0610 Smallest Window Subsequence (09 Apr 2022)
-
BinarySearch 0628 Longest Substring with Character Count of at Least K (09 Apr 2022)
-
BinarySearch 0643 Number of K-Length Sublists with Average at Least Target (09 Apr 2022)
-
BinarySearch 0677 Most Occurring Number After K Increments (09 Apr 2022)
-
BinarySearch 0696 Longest Equivalent Sublist After K Increments (09 Apr 2022)
-
BinarySearch 0711 Longest Sublist of 1s After K Sets (09 Apr 2022)
-
BinarySearch 0753 K-Distinct Sublists (09 Apr 2022)
-
BinarySearch 0796 Shortest Sublist to Remove to Make Sorted List (09 Apr 2022)
-
BinarySearch 0803 Longest 1s After One Flip (09 Apr 2022)
-
BinarySearch 0810 Longest Repeating Sublist After K Updates (09 Apr 2022)
-
BinarySearch 0817 Kth Pair Distance (09 Apr 2022)
-
BinarySearch 0843 Number of Operations to Decrement Target to Zero (09 Apr 2022)
-
BinarySearch 0855 Angry Owner (09 Apr 2022)
-
BinarySearch 0891 Number of Sublists That Don't Contain Target List (09 Apr 2022)
-
BinarySearch 0892 Shortest Window Substring in Order (09 Apr 2022)
-
BinarySearch 0930 Maximum Unique Sublist Sum (09 Apr 2022)
-
BinarySearch 0955 Window Limits (09 Apr 2022)
-
BinarySearch 1033 Group the Ones Sequel (09 Apr 2022)
-
Leetcode 0003. Longest Substring Without Repeating Characters (09 Apr 2022)
-
Leetcode 0030. Substring with Concatenation of All Words (09 Apr 2022)
-
Leetcode 0076. Minimum Window Substring (09 Apr 2022)
-
Leetcode 0159 Longest Substring with At Most Two Distinct Characters (09 Apr 2022)
-
Leetcode 0187. Repeated DNA Sequences (09 Apr 2022)
-
Leetcode 0209 Minimum Size Subarray Sum (09 Apr 2022)
-
Leetcode 0219 Contains Duplicate II (09 Apr 2022)
-
Leetcode 0239. Sliding Window Maximum (09 Apr 2022)
-
Leetcode 0340. Longest Substring with At Most K Distinct Characters (09 Apr 2022)
-
Leetcode 0346. Moving Average from Data Stream (09 Apr 2022)
-
Leetcode 0395. Longest Substring with At Least K Repeating Characters (09 Apr 2022)
-
Leetcode 0424 Longest Repeating Character Replacement (09 Apr 2022)
-
Leetcode 0438 Find All Anagrams in a String (09 Apr 2022)
-
Leetcode 0480. Sliding Window Median (09 Apr 2022)
-
Leetcode 0485 Max Consecutive Ones (09 Apr 2022)
-
Leetcode 0487. Max Consecutive Ones II (09 Apr 2022)
-
Leetcode 0567 Permutation in String (09 Apr 2022)
-
Leetcode 0632 Smallest Range Covering Elements from K Lists (09 Apr 2022)
-
Leetcode 0643 Maximum Average Subarray I (09 Apr 2022)
-
Leetcode 0674 Longest Continuous Increasing Subsequence (09 Apr 2022)
-
Leetcode 0683 K Empty Slots (09 Apr 2022)
-
Leetcode 0713. Subarray Product Less Than K (09 Apr 2022)
-
Leetcode 0718. Maximum Length of Repeated Subarray (09 Apr 2022)
-
Leetcode 0719 Find K-th Smallest Pair Distance (09 Apr 2022)
-
Leetcode 0727 Minimum Window Subsequence (09 Apr 2022)
-
Leetcode 0862 Shortest Subarray with Sum at Least K (09 Apr 2022)
-
Leetcode 0904 Fruit Into Baskets (09 Apr 2022)
-
Leetcode 0933. Number of Recent Calls (09 Apr 2022)
-
Leetcode 0978 Longest Turbulent Subarray (09 Apr 2022)
-
Leetcode 0992 Subarrays with K Different Integers (09 Apr 2022)
-
Leetcode 0995. Minimum Number of K Consecutive Bit Flips (09 Apr 2022)
-
Leetcode 1004. Max Consecutive Ones III (09 Apr 2022)
-
Leetcode 1031. Maximum Sum of Two Non-Overlapping Subarrays (09 Apr 2022)
-
Leetcode 1052. Grumpy Bookstore Owner (09 Apr 2022)
-
Leetcode 1074. Number of Submatrices That Sum to Target (09 Apr 2022)
-
Leetcode 1100 Find K-Length Substrings With No Repeated Characters (09 Apr 2022)
-
Leetcode 1124. Longest Well-Performing Interval (09 Apr 2022)
-
Leetcode 1151 Minimum Swaps to Group All 1's Together (09 Apr 2022)
-
Leetcode 1156. Swap For Longest Repeated Character Substring (09 Apr 2022)
-
Leetcode 1176 Diet Plan Performance (09 Apr 2022)
-
Leetcode 1208. Get Equal Substrings Within Budget (09 Apr 2022)
-
Leetcode 1316. Distinct Echo Substrings (09 Apr 2022)
-
Leetcode 1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold (09 Apr 2022)
-
Leetcode 1423. Maximum Points You Can Obtain from Cards (09 Apr 2022)
-
Leetcode 1425. Constrained Subsequence Sum (09 Apr 2022)
-
Leetcode 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit (09 Apr 2022)
-
Leetcode 1493. Longest Subarray of 1's After Deleting One Element (09 Apr 2022)
-
Leetcode 1499. Max Value of Equation (09 Apr 2022)
-
Leetcode 1520. Maximum Number of Non-Overlapping Substrings (09 Apr 2022)
-
Leetcode 1574. Shortest Subarray to be Removed to Make Array Sorted (09 Apr 2022)
-
Leetcode 1610. Maximum Number of Visible Points (09 Apr 2022)
-
Leetcode 1658. Minimum Operations to Reduce X to Zero (09 Apr 2022)
-
Leetcode 1695. Maximum Erasure Value (09 Apr 2022)
-
Leetcode 1703. Minimum Adjacent Swaps for K Consecutive Ones (09 Apr 2022)
-
Leetcode 1788 Maximize the Beauty of the Garden (09 Apr 2022)
-
Leetcode 1852 Distinct Numbers in Each Subarray (09 Apr 2022)
-
Leetcode 1918 Kth Smallest Subarray Sum (09 Apr 2022)